const axios=require('axios');

url="https://device.hnsoc12349.cn/face";
apiUrl='/search';

data={
    appId:'26159037',
    "data":{
        group_id_list:"groupid01,groupid02",
        image_type:"URL",
        image:"https://img0.baidu.com/it/u=3413464023,882098885&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=749" 
    }
};

axios.post(url+apiUrl,data).then(function(res){
    console.log(Object.keys(res));
    console.log(res.data);
}).catch(function(err){
    console.log(err);
});

